from api.irhm_login_api import iRHMLoginApi


def get_token():
    login_data = {"mobile": "13800000002", "password": "123456"}
    r = iRHMLoginApi.login(login_data)
    token = r.json().get('data')
    return token

if __name__ == '__main__':
    print(get_token())